package com.cennavi.buss.service;

import com.cennavi.buss.service.imp.ISearchService;
import com.cennavi.minemap.bean.MessageBean;
import org.springframework.stereotype.Component;

@Component
public class SearchService extends AbstractService implements ISearchService {

    @Override
    public MessageBean keyword(String token, String adCode, String key, String searchType, String dataType,
                               Integer pageNumber, Integer pageCount, Integer source) {

        return createMsgBean();
    }

    @Override
    public MessageBean surround(String token, String adCode, String key, String searchType, String dataType,
                                Integer pageNumber, Integer pageCount, Integer source, String location, Integer inRadius,
                                String spatialFunction, Integer radius, Integer seq) {

        return createMsgBean();
    }

    @Override
    public MessageBean bbox(String token, String adCode, String key, String bounds, String searchType, String dataType,
                            Integer pageNumber, Integer pageCount, Integer source, Integer seq) {

        return createMsgBean();
    }

    @Override
    public MessageBean driving(String token, String sPoint, String ePoint, String wayPoints, Integer shpFlag,
                               Integer costModel, Integer vehicleSpeed, Integer numAlt, Integer criteria, String source, Integer traffic) {

        return createMsgBean();
    }

    @Override
    public MessageBean busTransfer(String token, String adCode, Integer strategy, Integer shpInfoFlag, String sPoint,
                                   String ePoint, Integer showWalkInfo, Integer source) {

        return createMsgBean();
    }

    @Override
    public MessageBean adminByPoint(String token, String location, Integer geometry, Integer source, Integer language) {

        return createMsgBean();
    }

    @Override
    public MessageBean geocoding(String token, String address, String adCode, Integer source) {

        return createMsgBean();
    }

    @Override
    public MessageBean reverseGeocoding(String token, String location, Integer type, Integer radius, Integer roadRadius,
                                        Integer kind, Integer source) {

        return createMsgBean();
    }

    @Override
    public MessageBean around(String token, String location, String type, Integer radius, Integer count) {

        return createMsgBean();
    }

    @Override
    public MessageBean smartTips(String token, String input, int adCode, String searchType, Integer pageCount) {

        return createMsgBean();
    }

    @Override
    public MessageBean newDriving(String token, String source, String sPoint, String ePoint, String wayPoints,
                                  Integer st, String avoidArea) {

        return createMsgBean();
    }

    @Override
    public MessageBean busRoute(String adCode, String keyword) {

        return createMsgBean();
    }

    @Override
    public MessageBean busStation(String adCode, String keyword) {

        return createMsgBean();
    }

    @Override
    public MessageBean geocodingScore(String token, String address, String adCode) {

        return createMsgBean();
    }

    @Override
    public MessageBean suggest(String keywords, String city) {

        return createMsgBean();
    }

    @Override
    public MessageBean geocodingScore2(String keywords, String city) {
        return createMsgBean();
    }

    @Override
    public MessageBean newDriving2(String sPoint, String ePoint, Integer st, String wayPoints, String avoidArea) {
        return createMsgBean();
    }

    @Override
    public MessageBean truckDriving(String sPoint, String ePoint, Integer st, String wayPoints, String avoidArea, Double length, Double height, Double width, Integer weight, Integer axleWeight, Integer axleCount, Boolean hasPassport, Integer energyType, Integer emissionStandard, Integer truckLoadType, Integer truckType, Integer truckFunction, Integer plateNumber) {
        return createMsgBean();
    }

    @Override
    public MessageBean busTransfer2(String city, String sPoint, String ePoint, Integer strategy) {
        return createMsgBean();
    }

    @Override
    public MessageBean busStation2(String keyword, String city, Integer pn, Integer rn) {
        return createMsgBean();
    }

    @Override
    public MessageBean busRoute2(String city, String keyword, String type, Boolean opposite, Integer pn, Integer rn) {
        return createMsgBean();
    }

    @Override
    public MessageBean geocoding2(String keywords, String city, Integer page_num, Integer page_size) {
        return createMsgBean();
    }

    @Override
    public MessageBean reverseGeocoding2(String location, Integer detail, Integer road, Integer rowNumber) {
        return createMsgBean();
    }

    @Override
    public MessageBean keywordSearch(String city, String keywords, String location, String area, String range, Integer zoom, String searchType, String language, Integer pageNum, Integer pageSize) {
        return createMsgBean();
    }

    /**
     * 行政区信息查询
     *
     * @param keywords
     * @param location
     * @return
     */
    @Override
    public MessageBean adminSearch(String keywords, String location) {
        return createMsgBean();
    }

}
